//
//  MPBFilePath.h
//  MiaoPai
//
//  Created by jiaxuzhou on 2017/6/26.
//  Copyright © 2017年 Jeakin. All rights reserved.
//
//  关于本地沙盒目录的工具类


#import <Foundation/Foundation.h>


@interface MPBFilePath : NSObject

// 沙盒主目录
@property (nonatomic, readonly, strong) NSString *homePath;
// 沙盒主目录下的 Documents目录（此目录下所有的数据都会通过iTunes备份）
@property (nonatomic, readonly, strong) NSString *docmentsPath;
// 沙盒Documents目录下的db.sqlite3数据库目录
@property (nonatomic, readonly, strong) NSString *dbPath;
// 沙盒主目录下的Library目录
@property (nonatomic, readonly, strong) NSString *libraryPath;
// 沙盒主目录下的tmp目录 重启手机后会清空
@property (nonatomic, readonly, strong) NSString *tmpPath;
// Library 目录下的Caches 不会通过iTunes备份
@property (nonatomic, readonly, strong) NSString *cachesPath;
// Library 目录下的 Preferences 会通过iTunes备份
@property (nonatomic, readonly, strong) NSString *preferencesPath;
// 主boundle目录
@property (nonatomic, readonly, strong) NSString *bundlePath;
// Library/Caches/Download
@property (nonatomic, readonly, strong) NSString *downloadPath;
// Library/Caches/CoreData
@property (nonatomic, readonly, strong) NSString *coredataPath;
// Documents／media
@property (nonatomic, readonly, strong) NSString *mediaPath;
// Documents／theme
@property (nonatomic, readonly, strong) NSString *themePath;
// Documents／music
@property (nonatomic, readonly, strong) NSString *musicPath;
// Documents／video
@property (nonatomic, readonly, strong) NSString *videoPath;
// Documents／photo
@property (nonatomic, readonly, strong) NSString *photoPath;
// Documents／paster
@property (nonatomic, readonly, strong) NSString *pasterPath;
// Documents／opera
@property (nonatomic, readonly, strong) NSString *operaPath;
// Documents／monkey
@property (nonatomic, readonly, strong) NSString *monkeyPath;
// Documents／faceSticker
@property (nonatomic, readonly, strong) NSString *faceStickerPath;
// Documents／tmpVideo
@property (nonatomic, readonly, strong) NSString *tmpVideoPath;
// Documents／temp.plist
@property (nonatomic, readonly, strong) NSString *tmpVideoInfoPath;
// Documents／historyDiscovers.plist
@property (nonatomic, readonly, strong) NSString *historyDiscoversPath;
// Documents／face
@property (nonatomic, readonly, strong) NSString *facePath;


/**
 单例创建对象

 @return 注释
 */
+ (MPBFilePath *)sharedInstance;

/**
 删除Documents／InBox目录下的文件
 */
- (void)clearInboxFilesIfNeed;


@end
